package com.xiaoai.disrupter;

import com.lmax.disruptor.EventHandler;

/**
 * @author xuqingxin 2021/8/27 3:27 下午
 */
public class LongEventHandler implements EventHandler<LongEvent> {
    @Override
    public void onEvent(LongEvent event, long sequence, boolean endOfBatch) throws Exception {
        System.out.println("消费者:"+event.getValue());
    }
}
